package retdata

type Success struct {
	Code int         `json:"code"`
	Msg  string      `json:"msg"`
	Data interface{} `json:"data"`
}

type Error struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
}

type Login struct {
	Uid      int64  `form:"uid" json:"uid"`
	Token    string `form:"token" json:"token"`
	Username string `form:"username" json:"username"`
}

type User struct {
	Uid      int64  `json:"uid"`
	Username string `json:"username"`
}
